﻿using DotLiquid;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FastCodeGeneration.Utility;

namespace FastCodeGeneration.Entity
{
    [LiquidType("*")]
    public class TempldateParam
    {

        /// <summary>
        /// 作者
        /// </summary>
        public string Author { set; get; } = string.Empty;

        /// <summary>
        /// 日期格式
        /// </summary>
        public string DateString { set; get; } = string.Empty;

        public string Company { set; get; } = string.Empty;

        public string Name { set; get; } = string.Empty;

        public string TableAlias { set; get; } = string.Empty;
        public bool HasParentId { set; get; }

        /// <summary>
        /// 数据表
        /// </summary>
        public Table Table { get; set; } = new Table();

        /// <summary>
        /// 表字段
        /// </summary>
        public List<TableColumn> TableColumns { get; set; } = new List<TableColumn>();

    }
}
